package com.yige.service.mongoService

import com.mongodb.DBCollection
import com.yige.service.ActiveService
import org.springframework.stereotype.Service

/**
 * Created by sunhao on 2016/7/8.
 */
@Service
class MongoActiveService extends BasicMongoServiceImp implements ActiveService{
    @Override
    DBCollection getCollection() {
        return mongoTemplate.getCollection("active")
    }
}
